﻿

namespace Inovout.Membership.Security
{
    public partial class DynamicPasswordCredential : IDynamicPasswordCredential
    {
        public DynamicPasswordCredential(string phone)
        {
            this.Phone = phone;
         }
        public override string Identity
        {
            get {
                return this.Phone.Substring(0, 3) + "****" + this.Phone.Substring(7, 4);
                //throw new System.NotImplementedException(); 
            }
        }
    }
}
